import { ref, computed ,watch} from 'vue'
import { defineStore } from 'pinia'

// 配置数据
export const useUserInfo1 = defineStore('userInfo1', () => {
  const isMember = ref(false);//是否是会员
  
  const setIsMember = (_isMember:boolean) => {
    isMember.value=_isMember
  }

  return {
    isMember,
    setIsMember,
  }
})
